<%@ page language="java" pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ww" uri="webwork" %>
<ww:bean name="'com.css.apps.base.dict.service.DictMan'" id="dictID" />
<form class="form-horizontal table-form" name="formd" id="formd" style="height: 330px;width:700px;margin:0;">
	<table class="table table-bordered">
		<thead>
			<tr>
				<th width="100px" order-field="a.sender" class="order">发送方</th>
				<th width="100px" order-field="a.receiver" class="order">接收方</th>
				<th width="80px" order-field="a.msgType" class="order">消息类型</th>
				<th width="100px" order-field="a.serverIp" class="order">服务器ip</th>
				<th width="80px" order-field="a.msgStatus" class="order">消息状态</th>
				<th width="110px" order-field="a.createTime" class="order">创建时间</th>
				<th width="20px"></th>
			</tr>
		</thead>
		<tbody>
		  <ww:iterator value="page.results" id="data" status="data">
			<tr>
				<td class="text-center"><ww:property value="sender"/></td>
				<td class="text-center"><ww:property value="receiver"/></td>
				<td class="text-center"><ww:property value="#dictID.getDictType('msg_d_msgtype',msgType).name"/></td>
				<td class="text-center"><ww:property value="serverIp"/></td>
				<td class="text-center"><ww:property value="#dictID.getDictType('msg_d_msgstatus',msgStatus).name"/></td>
				<td class="text-center"><ww:property value="new java.text.SimpleDateFormat('yy-MM-dd HH:mm').format(createTime)"/></td>
				<td class="text-center iconspage"><span class="expand"><i class="icon_arrow_down"></i></span></td>
			</tr>
			<tr class="sub"><td colspan="9">taskId：<ww:property value="taskId"/><br/>消息状态信息：<ww:property value="msgStatusInfo"/></td></tr>
			</ww:iterator>
		</tbody>
	</table>
	</form>
<div class="set-btn" data-spy="affix" data-offset-top="200">
    <a class="btn" href="javascript:;" onclick="$css.closeDialog()">取消</a>
  </div>
<script>
var $tab = $.cssTab.focus();
$("#formd").initUI();
</script>